์ž‘์„ฑ: 2024-11-27 06:30:34
    ์ˆ˜์ •: 2024-11-27 06:30:34

    ์™ธ๋ถ€ ์ด๋ฏธ์ง€ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ

    import Image from 'next/image'
     
    export default function RemoteImage({ src, alt }) {
      return (
        <Image
          src={src}
          alt={alt}
          width={500}
          height={500}
        />
      )
    }

    configuration-options

    module.exports = {
      images: {
        remotePatterns: [
          {
            protocol: 'https',
            hostname: 'example.com',
            port: '',
            pathname: '/account123/**',
          },
        ],
      },
    }